package com.fp.cyclops.demo;

import static cyclops.function.Predicates.*;
import cyclops.stream.ReactiveSeq;
import org.junit.Test;

/**
 * Created by user on 17/9/12.
 */

public class PredicatesComposeTest {
    @Test
    public void test(){
        ReactiveSeq.of(1,2,3).filter(anyOf(not(in(2,3,4)),in(1,10,20))).forEach(a->{
            System.out.println(a);
        });
    }
}
